package qx.hyj.demos.service;

import qx.hyj.demos.entity.BookJl;
import qx.hyj.demos.excep.LibraryException;

import java.util.List;

public interface BookService {
    void borrowBook(String userName, String bookName) throws LibraryException;

    int returnBook(String userName, String bookName) throws LibraryException;

    List<BookJl> getbook(String userName) throws LibraryException;
}
